<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>详细</title>
</head>


<body>


	<div class="container-fluid">
		<div class="modal-header">
			<button type="button" class="close" data-ng-click="Model.cancel()"
				data-dismiss="modal" aria-label="Close">
				<span aria-hidden="true">&times;</span>
			</button>
			<h5>{{Model.title}}</h5>
		</div>
		<div class="modal-body">

			<div class="row">
				<div class="col-sm-10 col-content">
					<nav class="nav">
						<query-like data="Model.dataMaster" place-holder="模糊查询..."></query-like>
					</nav>
					<div style="overflow:auto;height:500px;">
					<table class="table table-hover table-condensed table-responsive">
						<thead>


							<tr>
								<th></th>
								<th>行</th>
								<th>代码</th>
								<th>名称</th>
								<th></th>

							</tr>
						</thead>
						<tbody>
							<tr data-ng-show="row.userdata.recordState!='delete'"
								data-ng-class="{true:'active'}[Model.dataMaster.currentIndex==Model.dataMaster.rows.indexOf(row)]"
								data-ng-click="Model.dataMaster.onRowClick(row,$event)"
								data-ng-dblclick="Model.dataMaster.onRowDblClick(row,$event);Model.gridRowDblClick({'rowIndex':dataFileUnit.rows.indexOf(row),'rowID':row.fID.value})"
								data-ng-repeat="row in Model.dataMaster.rows">
								
								<td style="width: 10px;"><span
									data-ng-show="Model.dataMaster.currentIndex==Model.dataMaster.rows.indexOf(row)"
									class="glyphicon glyphicon-hand-right" aria-hidden="true"></span></td>

								<td style="width: 10px;">{{Model.dataMaster.rows.indexOf(row)+1}}<span></span></td>
								<td style="width: 100px;"><span
									data-ng-bind="row.sheetCode.value"></span></td>
								<td style="width: 100px;"><span
									data-ng-bind="row.sheetName.value"></span></td>

								<td></td>
							</tr>

						</tbody>

					</table>
					</div>



				</div>
				<div class="col-sm-2">
					<div class="btn-group-vertical" role="group" aria-label="...">
						<button type="button" class="btn btn-default"
							ng-click="Model.btnMoveTopClick()">
							<i class="fa fa-angle-double-up"></i> 置顶
						</button>
						<button type="button" class="btn btn-default"
							ng-click="Model.btnMoveUpClick()">
							<i class="fa fa-angle-up"></i> 上移
						</button>
						<button type="button" class="btn btn-default"
							ng-click="Model.btnMoveDownClick()">
							<i class="fa fa-angle-down"></i> 下移
						</button>
						<button type="button" class="btn btn-default"
							ng-click="Model.btnMoveBottomClick()">
							<i class="fa fa-angle-double-down"></i> 置底
						</button>

					</div>
				</div>
			</div>


		</div>
		<div class="modal-footer">
			<button class="btn btn-primary" data-ng-click="Model.ok()">确定</button>
			<button class="btn btn-warning" data-ng-click="Model.cancel()">取消</button>
		</div>

	</div>



</body>
</html>